#define adminLayout()
#@doAdminLayout()
#end
#define doAdminLayout()
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>设备图档</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.7 -->
    <link rel="stylesheet" href="/static/assets/bootstrap/dist/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="/static/assets/font-awesome/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="/static/assets/Ionicons/css/ionicons.min.css">
	<!-- Theme style -->
	<link rel="stylesheet" href="/static/assets/lte/css/AdminLTE.min.css">
	<!-- AdminLTE Skins. Choose a skin from the css/skins
	 folder instead of downloading all of them to reduce the load. -->
	<link rel="stylesheet" href="/static/assets/lte/css/skins/_all-skins.min.css">
	
	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
	<script src="/static/assets/js/html5shiv.min.js"></script>
    <script src="/static/assets/js/respond.min.js"></script>
	<![endif]-->
	<!-- Google Font -->
	<link rel="stylesheet" href="/static/assets/css/googlefont.css">
	<link rel="stylesheet" href="/static/style/css/sidebar.css" />
    <link rel="stylesheet" href="/static/basic/css/basic-tab.css" type="text/css" media="screen"/>
    <!-- jQuery 3 -->
	<script src="/static/assets/jquery/dist/jquery.min.js"></script>
	<script src="/static/layer/layer.js"></script>
	<!--自定义样式-->
	<link rel="stylesheet" href="/static/style/css/custom.css">
    ### 模板函数安全调用，找到 js() 模板函数则调用，找不到则直接跳过
	### 适合于部分页面在 layout.html 提供的 js 文件之外，还需额外添加 js 资源的应用场景
	#@js?()
</head>

<body class="hold-transition skin-blue sidebar-mini">

<div class="wrapper">
	 <header class="main-header">
	    <!-- Logo -->
	    <a href="#" class="logo">
	      <!-- mini logo for sidebar mini 50x50 pixels -->
	      <span class="logo-mini"><b>平</b>台</span>
	      <!-- logo for regular state and mobile devices -->
	      <span class="logo-lg"><b>设备</b>图档</span>
	    </a>
	    #include("_navbar.html")
	  </header>
	   #include("_asidemenu.html")
	  <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
           <div style="position:relative;height:43px;line-height:42px;">
               <div style="border-bottom:1px solid #ddd;position:absolute;left:0px;" id="bread_left">
	               #include("_tab.html")
	           </div>
	           <!-- Tab tools -->
	           <div style="border-bottom:1px solid #ddd;position:absolute;right:0px;padding-top:10px;padding-right:5px" id="bread_right">
	               #include("_tabtoolbar.html")
	           </div>
           </div>
           <!-- Main content -->
    	   <section class="content" style="padding:0px;background-color:#ecf0f5">
                <!-- Tab panes -->
                <div id="tmsp_tab_content" class="tab-content">
                    <div role="tabpanel" class="tab-pane active" id="home">
                        #@main()
                    </div>
                </div>
    	   </section>
      </div>
      ###include("_footer.html")
      #include("_setting.html")
</div>

<!-- Bootstrap 3.3.7 -->
<script src="/static/assets/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- FastClick -->
<script src="/static/assets/fastclick/lib/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="/static/assets/lte/js/adminlte.min.js"></script>
<!-- Sparkline -->
<script src="/static/assets/jquery-sparkline/dist/jquery.sparkline.min.js"></script>
<!-- jvectormap  -->
<script src="/static/assets/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="/static/assets/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<!-- SlimScroll -->
<script src="/static/assets/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<!-- ChartJS -->
<script src="/static/assets/chart.js/Chart.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<script src="/static/assets/dashboard2.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="/static/assets/setting.js"></script>

<script src="/static/basic/js/basic-ajax.js" type="text/javascript"></script>
<script src="/static/basic/js/basic-tab.js"></script>
</body>
</html>
<script type="text/javascript">
    var openPerson = function () {
        layer.open({
            type: 2,
            title: "#(loginAccount.name)→个人信息编辑",
            area: ["800px", "400px"],
            fix: false, //不固定
            maxmin: true,
            content: "/user/editMySelf/#(loginAccount.id)"
        });
    };
    var editPassword = function () {
        layer.open({
            type: 2,
            title: "#(loginAccount.name)→密码修改",
            area: ["250", "420px"],
            fix: false, //不固定
            maxmin: true,
            content: "/user/editPassword/#(loginAccount.id)"
        });
    };
    var logout = function () {
        layer.confirm("是否确定退出？", {
            icon: 3,
            btn: ["确定", "取消"] //按钮
        }, function (index) {
            layer.close(index);
            window.location.href = "/logout";
        }, function () {
            //layer.msg('已取消');
        });
    }
</script>
#end
